package com.badibadi.mytools;

import android.content.Context;
import android.widget.TabHost;
import android.widget.TabWidget;
import android.widget.TextView;

import com.badibadi.uniclubber.R;

public class TabHostUtils {

	public static void SetTabHost(Context context, TabHost mTabHost) {
		TabWidget tabWidget = mTabHost.getTabWidget();
		
		
		
		
		
		for (int i = 0; i < tabWidget.getChildCount(); i++) {
			TextView tv = (TextView) tabWidget.getChildAt(i).findViewById(
					android.R.id.title);
			
			tv.setTextSize(13);
			tv.setTextColor(context.getResources().getColor(
					R.color.color_858585));
			tv.setTransformationMethod(null);//不设置为大写
		}
	}

}
